Optimal. Leaf size=41 \[ \frac{B \log \left (a+b x^3\right )}{3 b^2}-\frac{A b-a B}{3 b^2 \left (a+b x^3\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.11513, antiderivative size = 41, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ \frac{B \log \left (a+b x^3\right )}{3 b^2}-\frac{A b-a B}{3 b^2 \left (a+b x^3\right )} \]
Antiderivative was successfully verified.
[In] Int[(x^2*(A + B*x^3))/(a + b*x^3)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 12.6833, size = 32, normalized size = 0.78 \[ \frac{B \log{\left (a + b x^{3} \right )}}{3 b^{2}} - \frac{A b - B a}{3 b^{2} \left (a + b x^{3}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2*(B*x**3+A)/(b*x**3+a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0269842, size = 41, normalized size = 1. \[ \frac{a B-A b}{3 b^2 \left (a+b x^3\right )}+\frac{B \log \left (a+b x^3\right )}{3 b^2} \]
Antiderivative was successfully verified.
[In] Integrate[(x^2*(A + B*x^3))/(a + b*x^3)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.007, size = 47, normalized size = 1.2 \[{\frac{B\ln \left ( b{x}^{3}+a \right ) }{3\,{b}^{2}}}-{\frac{A}{ \left ( 3\,b{x}^{3}+3\,a \right ) b}}+{\frac{Ba}{ \left ( 3\,b{x}^{3}+3\,a \right ){b}^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2*(B*x^3+A)/(b*x^3+a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.3654, size = 54, normalized size = 1.32 \[ \frac{B a - A b}{3 \,{\left (b^{3} x^{3} + a b^{2}\right )}} + \frac{B \log \left (b x^{3} + a\right )}{3 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*x^2/(b*x^3 + a)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.222053, size = 59, normalized size = 1.44 \[ \frac{B a - A b +{\left (B b x^{3} + B a\right )} \log \left (b x^{3} + a\right )}{3 \,{\left (b^{3} x^{3} + a b^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*x^2/(b*x^3 + a)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 2.75528, size = 36, normalized size = 0.88 \[ \frac{B \log{\left (a + b x^{3} \right )}}{3 b^{2}} + \frac{- A b + B a}{3 a b^{2} + 3 b^{3} x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2*(B*x**3+A)/(b*x**3+a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.2184, size = 88, normalized size = 2.15 \[ -\frac{B{\left (\frac{{\rm ln}\left (\frac{{\left | b x^{3} + a \right |}}{{\left (b x^{3} + a\right )}^{2}{\left | b \right |}}\right )}{b} - \frac{a}{{\left (b x^{3} + a\right )} b}\right )}}{3 \, b} - \frac{A}{3 \,{\left (b x^{3} + a\right )} b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*x^2/(b*x^3 + a)^2,x, algorithm="giac")
[Out]